package com.android.inestpin.model.detail;

import com.android.inestpin.utils.MyLog;
import com.android.inestpin.utils.okhttp3.Callback;
import com.google.gson.Gson;


import okhttp3.Response;

/**
 * Created by Administrator on 2017/7/27.
 */

public abstract class wchatpaydoneCallback2 extends Callback<wchatpaydone2> {

    @Override
    public wchatpaydone2 parseNetworkResponse(Response response, int id) throws Exception {

        String string = response.body().string();
        MyLog.e("inest","wchatpaydoneCallback2="+string);
        wchatpaydone2 data = new Gson().fromJson(string,wchatpaydone2.class);

        return data;
    }
}